package com.cn.service.impl;


import com.cn.common.Result;
import com.cn.dao.TestEmpDao;
import com.cn.entity.TestEmp;
import com.cn.service.TestEmpService;
import com.cn.vo.UserDeptVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 员工表(TestEmp)表服务实现类
 *
 * @author makejava
 * @since 2023-02-05 12:32:52
 */
@Service("testEmpService")
public class TestEmpServiceImpl implements TestEmpService {
    @Resource
    private TestEmpDao testEmpDao;


    @Override
    public Result selectByIdUser(String id) {
        UserDeptVo emp =testEmpDao.selectByIdUser(id);
        return new Result(200,"成功",emp);
    }
}
